package org.cycuchy.hp.event {
	
	import flash.events.Event;

	public class XMLParsedEvent extends Event {
		
		public static const KAPSTELIKI_DONE:String = "kapstelki_xml_done";
		public static const KAPSTELKI_ERROR:String = "kapstelki_xml_error";

		public static const FOTOS_DONE:String = "fotos_xml_done";
		public static const FOTOS_ERROR:String = "fotos_xml_error";
		
		public static const EMPECZY_DONE:String = "empeczy_xml_done";
		public static const EMPECZY_ERROR:String = "empeczy_xml_error";
		
		private var _object:Object;
		
		public function XMLParsedEvent(type:String, object:Object=null, bubbles:Boolean=false, cancelable:Boolean=false) {
			this._object = object;
			super(type, bubbles, cancelable);
		}
		
		public function get object():Object {
			return _object;
		}
		
	}
	
}